Auto merge of #4972 - varkor:lazy-cell-unused-unsafe, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 24 Jan 2018 15:05:11 +0000 (15:05 +0000)
committerbors <bors@rust-lang.org>
Wed, 24 Jan 2018 15:05:11 +0000 (15:05 +0000)
commitb1c3e781ec4053f10534c1bf9e7e0a603befed45
tree65a86db375e5649bcf5cdbe5f4f2e159d9afbef1
parent26c59967f8c653fe793cc28c8b8b46c824d1fe28
parent5d22cce6118ee7c42d83dce4ebee9ce6c4e19580
Auto merge of #4972 - varkor:lazy-cell-unused-unsafe, r=alexcrichton

Allow unused_unsafe in LazyCell in preparation for lib change

https://github.com/rust-lang/rust/pull/47204 makes `UnsafeCell::into_inner` safe, which means `LazyCell::into_inner` will no longer need an `unsafe` block. `LazyCell` is a blocker for the change in Rust: this fix should allow the change to take place.